<template>
  <div style="display: block">
    <iframe
      :id="id"
      :src="url"
      frameborder="0"
      width="100%"
      height="850px"
      scrolling="auto">
    </iframe>
  </div>
</template>

<script>
import store from '@/store'

export default {
  name: 'EoaFileView',
  data () {
    return {
      url: '/html/filemanager/view.html',
      id: 'eoaFileIframe'
    }
  },
  created() {
    let token = store.getters.token
    this.url = this.url + '?token=' + token
  }
}
</script>